<%--
  Created by IntelliJ IDEA.
  User: inn
  Date: 2022/1/12
  Time: 17:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>教师账户修改</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pintuer.css">
    <script src="${pageContext.request.contextPath}/static/js/jquery.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/pintuer.js"></script>
</head>
<body>
<h1>教师账户修改</h1>
<div class="margin">
    <form action="${pageContext.request.contextPath}/theacher/updateAccount" method="post">
        <%--隐藏 输出 教师id --%>
        <input type="text" name="thId" value="${thInfo.thId}" hidden>
        <h2>基本信息</h2>
        <div class="margin">
            <%--输出 教师账号 --%>
            <label for="userNumber">账户：</label> <input type="text" id="userNumber" name="userNumber" value="${thInfo.userNumber}" readonly>
            <br/>
            <%--输出 教师密码 --%>
            <label for="userPassowrd">密码：</label> <input type="password" id="userPassowrd" name="userPassowrd">
            <br/>
        </div>
        <input type="submit" value="提交">
        <input type="reset" value="重置">
    </form>
</div>

</body>
<%--<script>--%>
<%--   $("#userNumber").blur(function() {--%>
<%--       var data = $(this).val();--%>
<%--       //获取 输入的账号值--%>
<%--       console.log("blur---"+data);--%>
<%--   });--%>
<%--</script>--%>
</html>
